package com.jinke.api.modules.third.ezeeship2.service;

import com.jinke.api.common.api.CommonResult;
import com.jinke.api.modules.app.model.UserAddress;
import com.jinke.api.modules.base.service.BaseShipService;
import com.jinke.api.modules.third.ezeeship.model.request.EstimateRateRequest;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author macro
 * @since 2024-01-13
 */
public interface EzeeShip2Service extends BaseShipService {

    // 验证是否住宅地址
    CommonResult validate(UserAddress userAddress);
    CommonResult validate(EstimateRateRequest.Address address);
    void fillResidential(EstimateRateRequest request,Integer userId);


}
